STEP 8: Time to drag a while loop into our function!
A while loop is a type of loop that runs until a condition is met. Previously, you worked with for loops, which run for a specified number of times. A while loop runs until its condition is False.
- In , drag While True inside ask_for_password. It should be indented 4 spaces.
- Press Run, look at the console, and then press Stop when you're ready to move on.
To navigate the page using the TAB key, first press ESC to exit the code editor.